package com.ruoyi.quartz.mapper;

import com.ruoyi.bizsys.domain.SmsTask;
import com.ruoyi.bizsys.domain.SmsTemplate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 短信模板Mapper接口
 *
 * @author african-loan
 * @date 2021-09-15
 */
public interface QuartzSmsMapper {

    List<SmsTask> getSmsTaskInType(@Param("smsTypes") List<String> smsTypes);

    /**
     * 当天是否有代扣短信 (未发送，已发送)
     * @param userId
     * @return
     */
    int withholdCountOnToday(@Param("userId") String userId);
}
